package com.woniuxy.dao;

import com.woniuxy.entity.RbacManager;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface RbacManagerDao {
    int addOne(RbacManager rbacManager);

    int deleteOne(int id);

    int updateOne(RbacManager rbacManager);

    RbacManager findOne(int id);

    List<RbacManager> findAll();

    List<RbacManager> findOneByAccountAndStatus(String account, String status);
}